package com.qbw.app.request;

import com.http.okhttp.HttpTask;

/**
 * @author QBW
 * @date 2019/9/16
 */
public interface ICommonRequest {
    HttpTask getCountryList(HttpTask.CallBack callBack);

    HttpTask getVerifyCode(String telCode, String phone, int type, HttpTask.CallBack callBack);

    HttpTask uploadFile(String file, HttpTask.CallBack callBack);

    HttpTask checkUpdate(HttpTask.CallBack callBack);

    HttpTask checkVerifyCode(String telCode, String phone, String code, HttpTask.CallBack callBack);

    HttpTask getAddress(String lat, String lon, HttpTask.CallBack callBack);

    HttpTask checkUserExist(String telCode, String phone, HttpTask.CallBack callBack);

    HttpTask stopPush(String deviceToken, HttpTask.CallBack callBack);
    HttpTask checkFirmwareVersion( String deviceCode,String type,HttpTask.CallBack callBack);

    HttpTask checkFirmwareVersionFeedback( String deviceCode,String type,String updateState,HttpTask.CallBack callBack);


    HttpTask getWeather(String lat, String lon, String cityName, HttpTask.CallBack callBack);
}
